﻿#include "table_head_widget.h"
#include "ui_table_head_widget.h"

TableHeadWidget::TableHeadWidget(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::TableHeadWidget)
{
    ui->setupUi(this);

    label = ui->label;
}

TableHeadWidget::~TableHeadWidget()
{
    delete ui;
}

void TableHeadWidget::setWidth(int width)
{
    resize(width, 30);
}

void TableHeadWidget::setLabelText(const QString &text)
{
    label->setText(text);
}
